package com.whimscrew.user.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

//对应Eureka注册的部门服务名称
@FeignClient("dept")
public interface DeptService {


    @GetMapping("/v1/dept")
    String dept();

}
